<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="lib/html5shiv.js"></script>
<script type="text/javascript" src="lib/respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="/static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="/static/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="/static/lib/Hui-iconfont/1.0.8/iconfont.css" />
<link rel="stylesheet" type="text/css" href="/static/h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="/static/h-ui.admin/css/style.css" />
<link rel="stylesheet" type="text/css" href="/static/css/webuploader.css" />
<!--[if IE 6]>
<script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>下载安装程序与PC链接 - 程序与链接 - H-ui.admin v3.1</title>
<meta name="keywords" content="H-ui.admin v3.1,H-ui网站后台模版,后台模版下载,后台管理系统模版,HTML后台模版下载">
<meta name="description" content="H-ui.admin v3.1，是一款由国人开发的轻量级扁平化网站后台模板，完全免费开源的网站后台管理系统模版，适合中小型CMS后台系统。">
<style type="text/css">
	.pagelist ul li{display:inline-block;width:20px;height:20px;text-align:center;}
	.pagelist ul li a{width:20px;height:20px;}
	.pagelist ul li.active{background-color:#ccc !important;color:#fff;}
	.nav{height:36px;border-bottom:1px solid #eee;}
	.nav li{height:36px;line-height:36px;float:left;border:1px solid #eee;margin-left:-1px;padding:0px 20px;margin-top:-1px;cursor:pointer;}
	.linav{border-bottom:1px solid #fff !important;}
	.litable{display:none;}
	input{width:40px;border:1px solid #ddd;text-align:center;}
	.tmd p{margin-bottom:0px;}
</style>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span>系统设置<span class="c-gray en">&gt;</span> 关于我们 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>

<div class="page-container">
	<ul class="nav">
		<li>PC</li>
		<li>微信</li>
		<li>百度</li>
	</ul>
	<br>
	<div class="table">
	<form class="form-horizontal">
		<div class="row cl tmd litable">
			<label class="form-label col-xs-3 col-sm-2">PC首页链接：</label>
			<p class="formControls col-xs-8 col-sm-9" style="color:#ccc;font-size:14px;"><a {if $customer['platformpc_state']==1}target="_blank"{else}{/if} href="{if $customer['platformpc_state']==1}{:config('tmdhttp')}{$_SERVER['HTTP_HOST']}/dist/index.html?cus_id={$customer['id']}#/{else}{/if}" style="color:#ccc;">{if $customer['platformpc_state']==1}{$_SERVER['HTTP_HOST']}/dist/index.html?cus_id={$customer['id']}#/{else}请联系管理者开放此平台{/if}</a></p>
		</div>
		<div class="row cl tmd litable">
			<label class="form-label col-xs-2 col-sm-1"></label>
			<div class="formControls col-xs-9 col-sm-10 bg-1" style="color:#efb44a;">
				<p>下载微信小程序模块zip包, 然后用微信小程序开发者工具上传开发版本：</p>
				<p>微信小程序开发者工具下载地： <a style="color:#3296fa;" target="_blank" href="https://developers.weixin.qq.com/miniprogram/dev/devtools/nightly.html">https://developers.weixin.qq.com/miniprogram/dev/devtools/nightly.html</a></p>
				<p>微信小程序包下载： {if $customer['platformwx_state']==1}<a style="color:#3296fa;" onClick="downloadzip();">下载</a>{else}请联系管理者开放此平台{/if}</p>
			</div>
		</div>
		<div class="row cl tmd litable">
			<label class="form-label col-xs-2 col-sm-1"></label>
			<div class="formControls col-xs-9 col-sm-10 bg-1" style="color:#efb44a;">
				<p>下载百度小程序模块zip包, 然后用百度小程序开发者工具上传开发版本</p>
				<p>百度小程序开发者工具下载地： <a style="color:#3296fa;" target="_blank" href="https://smartprogram.baidu.com/docs/develop/devtools/history/">https://smartprogram.baidu.com/docs/develop/devtools/history/</a></p>
				<p>百度小程序包下载： {if $customer['platformbd_state']==1}<a style="color:#3296fa;" onClick="downloadbdzip();">下载</a>{else}请联系管理者开放此平台{/if}</p>
			</div>
		</div>
	</form>
	</div>
</div>
<!--_footer 作为公共模版分离出去--> 
<script type="text/javascript" src="/static/lib/jquery/1.9.1/jquery.min.js"></script> 
<script type="text/javascript" src="/static/lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="/static/h-ui/js/H-ui.min.js"></script> 
<script type="text/javascript" src="/static/h-ui.admin/js/H-ui.admin.js"></script>
 <!--/_footer 作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="/static/lib/jquery.validation/1.14.0/jquery.validate.js"></script> 
<script type="text/javascript" src="/static/lib/jquery.validation/1.14.0/validate-methods.js"></script> 
<script type="text/javascript" src="/static/lib/jquery.validation/1.14.0/messages_zh.js"></script> 
<script type="text/javascript">
$(".nav li:nth-child("+1+")").addClass("linav");
$(".tmd:nth-child("+1+")").removeClass("litable");
$(".nav li").click(function(){
	var nth=$(this).index()+1;
    $(this).siblings().removeClass("linav");
    $(this).addClass("linav");
    $(".tmd").addClass("litable");
    $(".tmd:nth-child("+nth+")").removeClass("litable");
});
function downloadzip(){
	$.post('{:url("tmdedit")}',
    {},
    function(data){
        if(data.code==200){
            if(data.data==200){
            	window.location.href="{:config('tmdhttp')}{$_SERVER['HTTP_HOST']}/download/tmp-weixin.zip";
            }else if(data.data==500){
				layer.msg('处理压缩失败，稍后再试!',{icon:2,time:5000});
            }
        }else if(data.code==500){
        	layer.msg('请先到“配置小程序”配置微信appid',{icon:2,time:5000});
        }
    });
    return false;
}
function downloadbdzip(){
	$.post('{:url("tmdeditbd")}',
    {},
    function(data){
        if(data.code==200){
            if(data.data==200){
            	window.location.href="{:config('tmdhttp')}{$_SERVER['HTTP_HOST']}/download/tmp-baidu.zip";
            }else if(data.data==500){
				layer.msg('处理压缩失败，稍后再试!',{icon:2,time:5000});
            }
        }else if(data.code==500){
        	layer.msg('请先到“配置小程序”配置百度appid',{icon:2,time:5000});
        }
    });
    return false;
}
</script> 
<!--/请在上方写此页面业务相关的脚本-->
</body>
</html>